<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <meta http-equiv="pragma" content="no-cache" />
    <meta http-equiv="Cache-Control" content="no-cache" />
    <meta http-equiv="Cache-Control" content="no-store"/>
    <meta http-equiv="Expires" content="0" />
<!--     <title layout:title-pattern="$DECORATOR_TITLE - $CONTENT_TITLE">valley-web框架</title> -->
    <link th:href="@{/styles/global.css}"  rel="stylesheet" type="text/css"/>
    <link th:href="@{/styles/index.css}" rel="stylesheet"  type="text/css"/>
    <link rel="shortcut icon" th:href="@{/images/logo.ico}"/>
    <script type="text/javascript" th:src="@{/scripts/jquery.min.js}"></script>
    <script type="text/javascript" th:src="@{/scripts/artDialog/artDialog.js}" ></script>
    <script type="text/javascript" th:src="@{/scripts/common.js}"></script>
    <script type="text/javascript" th:src="@{/scripts/public/public.js}"></script>
    <script type="text/javascript" th:src="@{/scripts/public/json2.js}"></script>
    <script type="text/javascript" th:src="@{/scripts/validate/jquery.validate.min.js}"></script>
	<script type="text/javascript" th:src="@{/scripts/validate/chinese.js}"></script>
	<script type="text/javascript" th:inline="javascript">
$(function(){
	var username = [[${session.username}]];
	if(username=='cwfx@hylanda.com'){
		var html='<div  > '+
		'<h6 ><span class="f-right"></span>价值评估管理</h6>'+
		'<ul >'+
// 		'<li><a href="/clockingIn/index">考勤录入管理</a></li>'+
		'<li><a href="/cost/index">财务费用管理</a></li>'+
		'<li><a href="/income/index">收款管理</a></li>'+
// 		'<li><a href="/order/index">薪酬录入管理</a></li>'+
// 		'<li><a href="/order/index">薪酬分析评估管理</a></li>'+
// 		'<li><a href="/order/index">工作量录入管理</a></li>'+
// 		'<li><a href="/order/index">工作量分析评估管理</a></li>'+
// 		'<li><a href="/order/index">合同录入管理</a></li>'+
// 		'<li><a href="/order/index">合同分析评估管理</a></li>'+
// 	    '<li><a href="/order/index">工作室分析管理</a></li>'+
		'</ul>'+
		'</div>';
		$(".columnLeftMenu").html(html);
	}else{
		var html=  '<div >'+
	 	 '<h6 ><span class="f-right"></span>系统管理</h6>'+
	     '<ul >'+
	     '<li><a href="@{/user/index}">用户管理</a></li>'+
	     ' </ul>'+
	     '<h6 ><span class="f-right"></span>新平台业务管理</h6>'+
			'<ul >'+
	        ' <li><a href="/reportfile/index">报表文件管理</a></li>'+
	         '<li><a href="/tablesql/index">报表表语句管理</a></li>'+
	         '<li><a href="/reportModel/index">报表模型管理</a></li>'+
	         '<li><a href="/displayconfig/index">能力个性化管理</a></li>'+
	         '<li><a href="/powerbitool/home">报表上传工具</a></li>'+
	     '</ul>'+
	     '<h6><span class="f-right"></span>报表本地化业务管理</h6>'+
	     '<ul>'+
	        '<li><a href="/pblocal/index">本地报表文件管理</a></li>'+
	     '</ul>'+
	 '</div>';
		 $(".columnLeftMenu").html(html);
	}
})

</script>
</head>
<body>
<div class="headerBox" >
    <div class="topBox">
        <div class="topLogo f-left">
            <a href="#"><img th:src="@{/images/logo.png}"/></a>
        </div>
        <div class="new-nav">
<!--             <h3>管理后台</h3> -->
        </div>
        <div class="f-right" > <a  id="logout"  style="background-color: transparent;cursor: pointer;color: #fff;font-size: 14px;">退出</a></div>
    </div>
</div>
<div class="locationLine" layout:fragment="prompt">
    当前位置：首页 &gt; <em>页面</em>
</div>
<table class="globalMainBox" style="position:relative;z-index:1">
    <tr>
        <td class="columnLeftBox" valign="top">
            <div th:replace="fragments/nav :: nav"></div>
        </td>
        <td class="whiteSpace"></td>
        <td class="rightColumnBox" valign="top">
            <div layout:fragment="content"></div>
        </td>
    </tr>
</table>

<div class="footBox" th:replace="fragments/footer :: footer"></div>

</body>
<script type="text/javascript">
    $("#logout").click(function(){
        location.href="/prelogout";
    });
</script>
</html>
